GtkListBox: Fix a bug in unselection
authorMatthias Clasen <mclasen@redhat.com>
Sat, 1 Nov 2014 02:34:09 +0000 (22:34 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 1 Nov 2014 02:34:09 +0000 (22:34 -0400)
commite6e511eb460d8fcd241f202f9c3e26b0ef288927
tree52bf600fba8525848512f5ec880c831c4ac5be95
parentfcdec5ac414095e7143ea9721882baa82c52445e
GtkListBox: Fix a bug in unselection

Ensure that gtk_list_box_get_selected_row returns NULL after
gtk_list_box_unselect_all. Add a testcase that detects this
problem.
gtk/gtklistbox.c
testsuite/gtk/listbox.c